SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '09123cf1016598fa333b7f465f4351377a0a310d00432ef3111e4550cba78e57' 
  AND token = 'kK0tD/T8JwibhAvHDMjychIBq9yIWOLg70Pk+4D1Ph8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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