SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '743f2c66bd119901c1f06f03ae1662f9f9cd374b51e8a3e84365e059f9aa5186' 
  AND token = 'zC8lwp02MJxW5XwCeGUVwwnM2ppc7Ps+65yrbbjEWxs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00060

JSON explain

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