SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '329d58f7d1295df78d36439781115a45be6ee47c2faaf32039acf409c2c01afb' 
  AND token = 'QbopKod0K2uu8jqkZtbgsVBqcATL452qT4CsLrhHGG4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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