SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e38357d4a2f2361adb77caac891bec41f87e9cb37a6a493f716ea313412764a7' 
  AND token = 'LOkO7e12teXF7pr7XX6B2rks+RdPXBgJHOEyKEnudkM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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