SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4db04a7adb69832d8b140804fef03b740208eb7db71bf165515b4a94aa62433c' 
  AND token = 'qdnHWKjSpTpQBdum7u5G52LTMCi1mhwm43AfVGlRdrE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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