SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'de745a5809bf527bf275563161fb71ea8c18ac9bd767af8b869d54c90b2768a5' 
  AND token = 'wwhJXgMqiFr+XK29HNP1JsZ4gbIzFA/U08GvJM10144=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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