SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a007d675fd797523cb31f28650b3300a8732ac5a590a9e4884006c24b7cf1f89' 
  AND token = 'lVffgZYuST+NpXuxv5jcaMgU1mILT9KvBAWlO6HNLcg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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