SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '309e5b13f0db01ab609338b2ff263f17e9c195a4100fddd56860bb837b163d79' 
  AND token = '1juMxfTAkdaVpnyoHs/pwwuvPRUO4X+0hhideLtb9yY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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