SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ced1e0f25be2829e47c29551965a5258a10743715674991d4804539fc02b996d' 
  AND token = 'Ho0xZ+QyHtIoW4recBQ1wwoUmbWj2a4cBUPAOV8H2gg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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