SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8216addd6982e3044e0a4ce28ddd800a996a0b419eadbaa397764482fd80b164' 
  AND token = 'wUNi0NAgDCSjXsN8dYI+h2yI+Kfged1MSyyF/8bLOZY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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