SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac2d52f7d135740d3064288ef9c36cfb12c67bf1092b6c7e43dff52a7d96f196' 
  AND token = 'att+/Mgxo6KueVLj5r5iUU2TM+gy7JxUEqnpfSlxD5c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}