SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '59cae6898179cfbe39eb29c96e92b382952b8d08966e3f35376d2b382f1f563b' 
  AND token = 'VIgmenKhAT1Ogf7zOmhI+J1b4bsiGRazQTDKm128jps=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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