SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f0140e8750c001aaab729c87e43c79ccd4e86ab99c0efcd610810f9b9fb9907' 
  AND token = '17uZUHZFEOQcoST2tOU5ddFyS7ZMEw5y61AQ2w9gOyQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}