SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f677ccf921e5360c251455d43f662647da6d074c2762c927ba2ae6451c2a7768' 
  AND token = 'QpWoW4valEWrC0bUitdW7ua8q9prw2JwLTiC5AxHsJk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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