SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e05e71965e7fc5e8e17bb7db40c98f1eb0c6a81d5037023ce6d51a6f9ac29739' 
  AND token = 'nR3ADSCaTgVeFugq9zNQ/ybITogg8zelxo+/cZSQFjE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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