SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4d71fa1fa8336e0529d999a06ecfc3c415b54358ec0777b729a892f9f95cbd6a' 
  AND token = 'oGzqpcVfOnGDREqIJQhAhG1Og7Lq/VxDV8Sctl5Mykw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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