SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '671c4816148eacf85c92dbce44a93ccba3666bfb9d5120f9fd6f75ac42a30d0f' 
  AND token = 'ZO46Wh6qoF08ww70id1o3KOOxu6qzlMWANtjNoXqKH0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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