SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '172cee892639502e0c36ee96dee98220d97ad906126d6349bfd9d2dc966d9949' 
  AND token = '3VNPJ4t00BcAJaSiyea1eecANDkTbqwkAbfZdSZsyS8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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