SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0df097556d2ede3c5aba26aae497e497678adf89471c214fb60c7393e46be07f' 
  AND token = 'X+LoPsj5+tor9lwAHMwq8BsQyqR3E5hh4iAAirjWVYk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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