SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d7cc123ac9b0c095cdcb672522c75d3086d993bb24fc92382eb550a686d1f8f' 
  AND token = 'LIrLd+TM9PJJrTplT7Oge022bM46LQqjgoO9h3vxrDo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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