SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04b327fa5531718d02906ee159a5c4659540b12e5767d5328bc11789848aed1f' 
  AND token = 'zA166+uSuodufKQLiQhFUICsSYS+YD+/sA8KB2qqOzE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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