SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd218ea397930348e2ce990cb37b6616330621cf2b7c1601be14b3ac018c2d7d' 
  AND token = 'RNMX2+krOtRoo6hxzdsypyH27T79ZmzQFVPW/Gh6EBM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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