SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f65db5883b93cd71aa6d961216fbc209800be984fc6f1021be9687f4680f4e0e' 
  AND token = 'UM4g+OIJbxbjn5z9clr9Da4uP/EYu7DlnjwFEpL0HE8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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