SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3810780aba1b371c322f06b3f54e2b98b916ec7a68ab5d7c92bb054e34deb15' 
  AND token = 'JUJ5L7CA1wd1FYP0ENOYgNgRyzs1hffnU709laIrOqw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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