SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a365f304e0299e29a2e4560498d3a4cd892878a826fdc1e068a7053bcb0725f0' 
  AND token = '8Ecv7RkmVTmZKJDR++bfOgkgP/mWKDux07JXks75TNA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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