SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d51ad00bc63f6925d23a908ab88f1ee78162b7d54505ab4b6aed5fc2031fb79' 
  AND token = 'rkT9WwHzsYdI9yAzktF1Kq/Uk7icDLBnI4JHs58/Ips=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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