SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a786d1b8ad33332e2f7e0a5d7f62938a49c0b8ecf96a1e7766abccdb84017eac' 
  AND token = 'S/ATQwmpYrMudumwc8LTW9Lv7MaUZZjLaxetkTVJMBk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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