SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba57de661d8a49ab5c37ced109ac45d9e7162122bd3cbc6d766b1b86da5b1633' 
  AND token = 'CuYCjeLSdJvGAsoO+f7XIAQgUsBfpkqn6hQHJuotAhw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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