SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '98ef2738096d276f9c4661f150c1c518b9cbab8cab74d4e498db6f88d34fbcad' 
  AND token = 'SSV+8/LTjA5vN/AOYNW6ZGHMH3+cEQ//hNOpQQ9DXn0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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