SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5faf20e999ad80340cf9784947ddfd92fc1946c655b83c83d033f784f7073caf' 
  AND token = '0AePp9L1ZvNls5icAL37/hIG0Re/e2/yxWWJ7dpSkt0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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