SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '297d4aec4d7c518cc7d3fb3ab1e5bd0604017b3ee2bf0b9b8dcf6c86ad4974bc' 
  AND token = 'Qt+oEG19ghj1HjdqKV9LnY3fF7nGCECWAgy6ciQgqd8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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