SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40f800226b192f67d27caf1ed6a72f069af6a6f99f4384dc9b2cba441e90326c' 
  AND token = 'M+Pf+hNw+N+hRu8+aCK4UwHPkqWjnwsIq+Gh/XXF/Bo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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