SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50d736e75979d86afba6caa53e146c47cc824f1c110104cc24473c1c1caaf93f' 
  AND token = '8089CjsmGEjIdPUC61RwV4w9Q364LS2EP/IYGgRBz9o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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