SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4fffdfea31380c45095478da29dadcf18c5e4da129c959ad48da06707357217' 
  AND token = '8UI9HiQC4kR6sqO4qHWQ04AAdk4VWK9Ozk3SOnoME0g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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