SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42e4c11610b4aa309b10579ad39646ba6e85b3cd8c144b4dcd7140356f310c41' 
  AND token = 'YD78IRZmRYNsrj+3qtsZlKUbGQZAijd2F3fv66LdtiA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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