SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a786a097b76d7e38da721b2639b18df871a58c5b58909484d3d7eadc985b6d1f' 
  AND token = 'mqEK3gCryi7K5JtX1UPeUrPzi7GQqnfI94BPdzp+MyY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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