SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a312d7b09e0be973051d9b033db5b5783f3f3aca6d2af03db8413baa8404ba36' 
  AND token = 'oCXvKtt/9gb64QfvIhhCSIl27LzscHnPRB4MbWWEJTI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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