SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd2d07435efb592eb4eb956bb65161a5762ea50dd6333898b426574a3e6fc12a' 
  AND token = 'CVGZ1HRX4Y8i/vl8Fp8XYulF5/0ThKaRFegIcLI/p7I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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