SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '979af7fc540787c8d11e50334bbe2b6e3e35d1e92e579e78b7f85baffdc4c424' 
  AND token = '4S94bQyw9IUj8tcnsGF4SlLyRgElI0HtynU1y3UEBe0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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