SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4dd5dc771708c73497c5ddc0b940b3572bc2144ebbc9668e20e588426e63fb2a' 
  AND token = 'aVQZBgVn3AeIzFwGEjJsaeJ9Bh4faVEXiNiyYxNFbbQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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