SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0158abafbc8cfc9be876b918e0fe64d5eb2bd3133c9a666fa4f7e7a896cecc7' 
  AND token = 'm9Z3HBi2iFIPCtANqRDYjZ3HsNr3x9/L1fJfmggqk0o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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