SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '166f1b6b2fa7938aa81184f3aace91583b0bd02347622aa93fab153187daf595' 
  AND token = 'L416PrT1nTG/eVFuZDnE5zEMfCStgPgpf+h9V38VtF0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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